Fixes focusout bug on dropdown button