Fix Menu Overflow Toggle

Toggle didn't work before, overflow would always show. Original authors: BMc08GT & xLaMbChOpSx

Change-Id: I708ca65039dcf6aec673a729d159cedeeb56852d
Signed-off-by: ayysir <dresadd09691@gmail.com>