Optimise gameloop to sleep between frames