fixed behaviour of map pin