Fixed issue with legend symbol changing color on hiding/showing. Closes #1556.