Fixed #3635, markers overlapping in cases where they should not, according to the default behaviour.