Separate drawing loop from game loop timing