Instead of dimming the actual pixels, apply a translucent fill to the area outside the highlight rectangle.