Prevent crashes when r_deferredShading > 0