Fix incorrect alignment on first line of a file

Closes #31