Revert "Fix line bounds"

This was only a partial fix, accidentally pushed. The height is still wrong for my case but not in
the test.

This reverts commit 05f408cb3ea9c359aafaa28dee63261c1363e3e9.