Fixes symbols positioning in JBIG2

Fixes #2221, #2642, and #1898