Merge pull request #277 from nanan9177/blockly_fix

Blockly fix
Small fix on image rotation.