fix the issure that an untextured sprite can not call setTexture.
Merge pull request #184 from nealzxc/master

fix the issure that an untextured sprite can not call setTexture.