Fix time skew bug

Fixed, but frame rate is now limited to around 1 FPS