UI is unusable while sailing after adventure isle

After finishing an adventure isle, I opened the map as usual to auto sail to a nearby continent but for some reason the world map was opened but when clicking on it, I would just be clicking through it and moving my ship. Then, all the ui, like the mini map, party box, and all the buttons on screen, would be unable to be clicked. Same thing with the escape menu. In the end I was forced to alt+f4 to exit the game.