Fixed hiding of images if off screen