fix the bugs of SpriteTest that the Sprite created by passing rect display error