[#40] Implemented TextureFactory and fixed Sprite width/height.