Fix GLException in non-light model