[v0.9.6.3] Window closing issue with a storage object
Version: 0.9.6.3
Steps to Reproduce: Select a storage object. And then click anywhere outside the window.
Expected behavior: Clicking anywhere outside the window should close it without doing anything else.
Actual behavior: Clicking anywhere outside the window, while a storage object (e.g. Storage Chest) is selected, not only close it BUT also cause the first item in storage to be automatically picked up. However, closing it with Escape key only close the window without automatically picking up the first item in storage.
One other observation to add: closing the window this way (that is, clicking outside the window) while a tool like hammer or pick-axe is currently selected also causes the tool on hand to animate, striking the storage object. Again, closing the window with Escape key does not cause this behavior.