Fix marker deletion