More robust marks placement