I'm feeling extremely stupid. Spent a couple of hours trying to track
this down without success. I definitely saw it working for a bit, except
that when it works things look different at different zoom levels. But
now I can't even reproduce that.
My current best guess: there's an issue with various triggers and when
they happen, rather than with box_height:
on.draw
compute_layout
initialize_editor
??