fix menu disappearing after rotation