refactor bug fix to Display from Sim.js, https://github.com/phetsims/scenery/issues/1006
refactor bug fix to Display from Sim.js, https://github.com/phetsims/scenery/issues/1006

phetsims/joist,phetsims/joist,phetsims/joist