Bug 1008154 - Make BaseRect::Intersects return false if at least one of the rects is empty. r=roc