Fix normal map generation