Hello, I just install gnome sword and it has a serious bug. anyway to fix it?

Whenever I click on some part of the empty space in the window. the program would close itself. It seems that it is not the program that has this problem. I remember I have this problem with some program too. So maybe it is a bug of ubuntu or some bugs of some updates.

Any suggestions?