fixing mouse jumping around