Fix flashing background