Fix a bunch of stupid linedef issues