fix(style): avoid background flash of white