fix a minor camera movement bug