Fix crash with closed mensa lines