Changed the hiding behavior to fix the settings page.

Should have be part of the last commit, but I was too lazy to amend lol. What're you gonna do?