Smooth the menu and fix flickering