Fix cross-browser blinking issues