fix(view): prevent flicker