[4.0] Support screen rotation for glScissor