fixed texture mapping bug