Fixed copy-constructor error with Sprite and Texture2D.