It could happen that the frameDuration is very high. Having high speed it may jump over multiple cycles. Please use % operator to find the actual frame within StartFrame..EndFrameRange.