Fix updating icon of marker when properties change