envmap/glass rendering fix