Fixed an issue that caused textures to be flipped, also fixes UV maps