TextBox not editable when compiling with -d:release
After compiling with Nim v1.0 and 1.0.99 on linux I note following issues:

 1.  If compiled with -d:release or -d:danger textArea or textBox do not allow input

 2.  If there are several  events like this

```
            window.onKeyDown = proc(event: KeyboardEvent) =
            # Ctrl + F -> Focus on inputBox
              if Key_F.isDown() and Key_ControlL.isDown():
                 inputTextBox.focus()

            window.onKeyDown = proc(event: KeyboardEvent) =
            # Ctrl + Q -> Quit application  
              if Key_Q.isDown() and Key_ControlL.isDown():
                  doFinish()
```

      Only the last one will actually be executed  , the others seem to do nothing.