Fix #336 Save controls state after dropping main menu