Fix bug with color changing on page load.