First click on UI button don't work, after packaging

It is all right in the editor, but after packaging, the first click on a button on the UI is invalid, no response. It will be right from the second click on. How is this going?