Fix bug of short duration (force at least 3 frames)