made the camera remain roughly in the sameplace on resize