Normal hide/show toggling was broken, this fixes it (#1219).