Fixed bug: markers were always put in the overworld, regardless of the
actual current dimension.