Remove existing handlers before adding new ones to markers