A few optional suggestions:
If you just put the block at 0,0 to start with and then it's immovable, you don't need to go searching through all the blocks to find that one nor move it to 0,0 again in this callback. Simply scroll to 0,0. This assumes that you specify the coordinates of the block when you load it onto the workspace initially, so maybe it doesn't work depending on what you're doing.
Also, you might want to consider `ws.hideChaff()` instead of `ws.getToolbox().setSelectedItem(null);`
`hideChaff` will close the flyout without affecting the toolbox's memory of which item was selected. This will help keyboard users if you decide to enable keyboard navigation, as pressing `T` to open the toolbox will remember the last category that was opened.
Maribeth