window: Ensure that everything gets repainted once there's no highlight left