Are you moving the container window so it does not overlap the main inventory window? If not, it could just be moved to the back as soon as you click something in the inventory.