fixed deltatime, and max fps