Fixed the upgrade menu receiving ticks while it was invisible.