Fix rendering errors at beginning of an empty line, fixes #21