This isn't really attached to the Insert Section logic, but it is attached to the text input widget. The same behavior happens when creating a New Folder or any other action that trigger that text input widget when the editor has a light theme. I'm using Solarized Light, but know it also occurs in Tomorrow and Katzenmilch