Add a fix for views flickering when first added