Fix: Crash when there's a config error in the first line / first column.

Fixes #5893