Try to fix #1772

Avoid doing glViewport call in IBL.cpp since the result is not used
without dynamic light.