Fix frame count issue on Sprite Sheet