Keep blockly within bounds on resize of itself