Fixed selection intersection bug.