Fix texture coordinates

Texture coordinates were calculated with the local position of each
vertex while they needed to be calculated with their world position.
Add error checking to 'uaxis' and 'vaxis' parsing