fix generators when game loop tick is running late