correct scissor and cliprect setting