Fixed Wrap around and negative game loop timer issues