Added support for the scissor test.