Fixed normal texture writing