In both EE version 3.40.15 and SVN build r1619 the z-height restriction of 3DMidTex switches seems to be broken. Now those lines can be triggered no matter the height difference between the texture and the player.
My bad. Just looked at it again... turns out my editor had removed the actual texture automagically, breaking it. When reinserted, things went back to normal.