Fixed issue where simulation couldn't be ran through the menu

Closes #42