Fix vertical parameter orientation on procedure blocks
Fix vertical parameter orientation on procedure blocks

Procedure definitions have the option for horizontal/vertical
orientation of parameters. However, switching resulted in the inputs
disappearing from the block. This was caused by the new fields not
being initialized correctly such that when the block attempted to
redraw, expected SVG elements were undefined.

This commit fixes the updateParams_ method for procedure blocks so
that they will correctly handle switching between the two cases.

Change-Id: Ib9a161548954a2990a0351ad07a808c35d2bc928

spefley/appinventor-sources,RachaelT/appinventor-sources,lizlooney/appinventor-sources,farxinu/appinventor-sources,josmas/app-inventor,ewpatton/appinventor-sources,marksherman/appinventor-sources,tatuzaumm/app-inventor2-custom,mit-cml/appinventor-sources,halatmit/appinventor-sources,afmckinney/appinventor-sources,thequixotic/appinventor-sources,themadrobot/appinventor-sources,CoderDojoLX/appinventor-sources,mit-dig/punya,ewpatton/appinventor-sources,kkashi01/appinventor-sources,Klomi/appinventor-sources,halatmit/appinventor-sources,barreeeiroo/appinventor-sources,barreeeiroo/appinventor-sources,mit-cml/appinventor-sources,puravidaapps/appinventor-sources,warren922/appinventor-sources,CoderDojoLX/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,marksherman/appinventor-sources,themadrobot/appinventor-sources,CoderDojoLX/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,tatuzaumm/app-inventor2-custom,spefley/appinventor-sources,themadrobot/appinventor-sources,afmckinney/appinventor-sources,josmas/app-inventor,marksherman/appinventor-sources,warren922/appinventor-sources,lizlooney/appinventor-sources,wanddy/appinventor-sources,Klomi/appinventor-sources,mit-cml/appinventor-sources,spefley/appinventor-sources,farxinu/appinventor-sources,thequixotic/appinventor-sources,mit-cml/appinventor-sources,kkashi01/appinventor-sources,mit-dig/punya,mit-cml/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,josmas/app-inventor,jisqyv/appinventor-sources,josmas/app-inventor,FIRST-Tech-Challenge/appinventor-sources,Klomi/appinventor-sources,thequixotic/appinventor-sources,puravidaapps/appinventor-sources,mit-dig/punya,josmas/app-inventor,wanddy/appinventor-sources,tatuzaumm/app-inventor2-custom,puravidaapps/appinventor-sources,Klomi/appinventor-sources,jisqyv/appinventor-sources,kkashi01/appinventor-sources,afmckinney/appinventor-sources,farxinu/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,mit-dig/punya,tatuzaumm/app-inventor2-custom,halatmit/appinventor-sources,wanddy/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,afmckinney/appinventor-sources,RachaelT/appinventor-sources,thequixotic/appinventor-sources,warren922/appinventor-sources,kkashi01/appinventor-sources,ewpatton/appinventor-sources,tatuzaumm/app-inventor2-custom,barreeeiroo/appinventor-sources,lizlooney/appinventor-sources,mit-dig/punya,halatmit/appinventor-sources,RachaelT/appinventor-sources,barreeeiroo/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,CoderDojoLX/appinventor-sources,wanddy/appinventor-sources,spefley/appinventor-sources,warren922/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,kkashi01/appinventor-sources,jisqyv/appinventor-sources,puravidaapps/appinventor-sources,themadrobot/appinventor-sources,jisqyv/appinventor-sources,ewpatton/appinventor-sources,mit-cml/appinventor-sources,mit-dig/punya,josmas/app-inventor,LaboratoryForPlayfulComputation/appinventor-sources,ewpatton/appinventor-sources,jisqyv/appinventor-sources,RachaelT/appinventor-sources,lizlooney/appinventor-sources,halatmit/appinventor-sources,puravidaapps/appinventor-sources,lizlooney/appinventor-sources,farxinu/appinventor-sources,spefley/appinventor-sources,mit-dig/punya,jisqyv/appinventor-sources,farxinu/appinventor-sources,warren922/appinventor-sources,kkashi01/appinventor-sources,halatmit/appinventor-sources,CoderDojoLX/appinventor-sources,afmckinney/appinventor-sources,marksherman/appinventor-sources,barreeeiroo/appinventor-sources,RachaelT/appinventor-sources,themadrobot/appinventor-sources,Klomi/appinventor-sources,wanddy/appinventor-sources,marksherman/appinventor-sources,ewpatton/appinventor-sources,thequixotic/appinventor-sources,marksherman/appinventor-sources