Fixed flash of menu icons on page load.