Implements the bounding box highlight aliasing.