markers use class instead of preventDefault for disabling outline