Fixed a bug where the focus is not given properly to the constructionPanel and therefore blocks the keyboard inputs