UI: Fixed some focus/blur problems with GUI elements and Dialogs