synchonized game update with render - fixed sprite glitching