Found the source of the bug obnoxiously far away from the behavior that triggers it. I'll need to dig into that a little more later as there's really no excuse for the segfault to have happened where it did. Also because not my code changed a related thing to something visually much worse because of course when you add functionality it's only natural to take away any UI hint that the new feature might exist. *facepalm*