Fix second header bug

Fixed a bug, that when a second header was added to a section, all images added to the second header were assigned to the first header, resulting in at least a corrupted DOCX.

(I thought that I had committed this earlier todat, but apparently due to my inexperience with GitHub, this was not finalized)