Added screen rotation support to ShaderPainter.