Fix rendering of shaders with mixed lightmap + vertex lighting passes