fixed sprite frame count problem.