Limited the delta time so that the game never jumps ahead.