Fixed the display bug when scrolling across the menu quickly.