Fix texture stitcher not using all avalible spaces. Closes #1557