Proximity rectangle invalid region optimizer in x11grid