Bug fix in rectangle overlays display