Fixes https://github.com/phetsims/joist/issues/151