updated to use fps-fixed timestep
only make the sdl:rectangle object once per update