fix ui.js centermap bug