Set `last_frame` directly

Closes https://github.com/PistonDevelopers/piston/issues/534