Main menu crash fix (issue #124)
Crashfix