Menu automoves down one selection on cancel/exit in portals/timeholes

OS: WINE
version: 0.4.1

Enter a portal/timehole (some boss/enemy room) in a realm. Surathli for example.

Open the main menu, open up and close any menu entry between Character and Knowledge"
The menu will go down one selection ex. Character -> Creatures

Opening and closing the save menu will crash the game.