fixed camera from updating before the map did