Fixed issue with categorized Y axis on gauges being positioned wrong. Closes #2593.