Made background-color consistent to avoid white flashes