Enable force to set line cap. Add CmdClipRect.