fix camera from moving out of the map