Fix Rect::contains

For some reason, I managed to convince myself and others that
Rect::contains should be inclusive of both edges, but that's clearly
wrong, as then a Rect with size (1, 1) has an area of 4.