Fix small bug

Fixed a bug that caused the xgui menu to break