Background-overlay bug fix