correct the overlay background