Rewrite Rectangle.intersects as discussed in #246.