Fix debug marker toggling.