Spoof window resize to get Blockly to behave.