Fixed "Hex grid" button crash, partially fixes 1907.