nullptr check when Sprite::setTexture with non-exists file

add check to setTexture