Small blockly fixes (While and Scan)

@kadst43