diff --git a/src/containers/blocks.jsx b/src/containers/blocks.jsx
index 9967412677f4c00338b9c500d01d719d9e5bef20..3bce0f3c548be5172a25d72408329067245d676d 100644
--- a/src/containers/blocks.jsx
+++ b/src/containers/blocks.jsx
@@ -63,8 +63,10 @@ class Blocks extends React.Component {
         }
 
         // @todo hack to resize blockly manually in case resize happened while hidden
+        // @todo hack to reload the workspace due to gui bug #413
         if (this.props.isVisible) { // Scripts tab
             this.workspace.setVisible(true);
+            this.props.vm.refreshWorkspace();
             window.dispatchEvent(new Event('resize'));
             this.workspace.toolbox_.refreshSelection();
         } else {