Variable time step logic and framerate limiter cap