Fixed fill/replace block picker closing

When clicking outside the block picker window, it closes, you don't have to press ESC anymore. I wasn't able to  further process the click, so if you want to do anything else, for example select a different tool, you have to click twice.