Changed ng-hide behavior to avoid weird Blockly rendering problems