Fixed the show/hide/as highlighting glitch