Fixed issue where hide didn't work in a menu