Fixed for uncentered cam

still has slight problem when cam moves too much