fix monster animation loop initial value bug