fixed more bugs related to selecting map pins