Fixed bug where loading categories preventing menu functionality