fixed bug with map center when selecting a marker