Refactor margin offsets within media tags for tracker labels