Fix crash when northmarker has been disabled (Bug #2230)