Seperated game loop into updates per second and frames per second