(Lakka) Fix a performance issue in lakka_frame when displaying a submenu