Fix textures not stitching even if height allows.

Ex.

Computer supports 8192x8192 max texture size
Current stitch size is 8192x4096
Texture wanting to be stitched is 256x256
The current code would do 8192 + 256 > 8192 and therefore throw the
exception instead of 4096 + 256 > 8192.