fix(popup): avoid flickering rect popups
fix(popup): avoid flickering rect popups

Avoid popups flickering back and forth becuase of different width
and height in different positions because of the moving tip.
Enforce the popup to stay in the same position longer by using a
coeff that is different when checking the currently applied
position.

mapillary/mapillary-js,mapillary/mapillary-js