Fixed a bug where markers were displayed in incorrect positions