Fix bug in marker manager where marker deleted then removed, #476