Added (nasty) fix for ActionQueueRepeat when the excess time was too high