Fix a bug in the frame. Should reset duration only when resetOnEvent or !isMoving
Fix the broken build; New release