prevent camera jumping around