Implemented scissor test in the renderer