fix OGL Thebes layers