(ScriptingHandler) Fix BadLocationException coming from wrong gutter update