fixed background changes to avoid "glimpses"