marker change focus bugfix

I tried to fix an issue i had with changing a marker. Every change caused the closing of a Popup when `marker.focus` attribute was `true`.