fixed jittering bug

This was the cause of all the shady buisness earlier