implemented SetTextureRect