That defocus call is there for a reason. When I change the value by clicking the scroll buttons on the value, without the defocus it will grab focus and I will have to click on canvas to move focus out of it. With it, I can scroll the value without canvas losing the focus. I consider this problem to be at least as important as the one you're trying to solve. So, please try to find a solution which would fix your problem without un-fixing mine.
That defocus call is there for a reason. When I change the value by clicking the scroll buttons on the value, without the defocus it will grab focus and I will have to click on canvas to move focus out of it. With it, I can scroll the value without canvas losing the focus. I consider this problem to be at least as important as the one you're trying to solve. So, please try to find a solution which would fix your problem without un-fixing mine.