fixed bug with normal mapping