Fixes a bug in the ChatGPT model dropdown where clicking it immediately closes the menu because focus is being stolen.