Fix bug when creating more than one block at once from flyout.

git-svn-id: http://blockly.googlecode.com/svn/trunk@617 c400ca83-b69d-9dd7-9705-49c6b8615e23