Improved marker line behavior