Fixing marker drag because was broken with refactoring