Use a cosmetic pen for snap lines to prevent lines scaling (fix #7524)