Fix marker location bug