I can reporduce that If I put a line feed, made by pressing Shift + Enter, at the end of the heading. Turn on the menu item View -> Nonprinting Characters and see if there is a bent arrow at the end of the heading.
Windows 10 and Linux Mint, since 2017 If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.