Added ability to manually set the deltaTime