I have a weird situation in a document. I have a header style I use when starting a new section. This is in the same page. So, this doesn't jump to a new page. This means I can have text before it in the same page. The text before it is an image. That image looses its last pixel line when I have this text above the mentioned header. However, if I add one line before the image, it does not cause this effect.
This seems like a bug. However, I am wondering if there are concerns I should be aware of when creating styles in Word in order to avoid weird situations like this.
My style is defined as shown in the attached image.