steptime is now used for the correct frame