Rewrote Texture to support multiple sprites animations better