Recalculate marker offset