Fix handling of negative sizes of the clipping rectangle.
Fix handling of negative sizes of the clipping rectangle.

This handles the case where the layer is rotated a multiple of 90
degrees by normalizing the clipping rectangle so that both width
and height are always >0.

playn/playn,playn/playn,playn/playn