windows clipping fixes