Fix bug with spoiler title editing in Firefox

Closes issue #4