Make sure the frame index for animation upate takes effect when resetAnim() returns `false`