Fixed tex_w_shadows bug(?)