Fixing removal of unused vars that included multiple assignment (important side-effects)
Fixing removal of unused vars that included multiple assignment (important side-effects)

phetsims/scenery,phetsims/scenery,phetsims/scenery