On Mac, when clicking on sidebar, we can only render the result after

re-focusing the window.