bug when switching from edgedraw to navigation corrected