fixed map setCenter Functionality