fixed perspective correction in texturing