Fix for Tiling Sprites that use trimmed frames.

Before they would use the trimmed frame size, rather than the actual frame size. This updates generateTilingTexture to resolve it.