bugfix about Sprite#_setFrame