Fix menu artifacts when switching categories.