Fixed bug with path change and main menu.