Fix module selection panel bug

Won’t go invisible when you select the tab twice!