Factored out _setDimension.
Factored out _setDimension.

bigspotteddog/envisionjs,notepad104/envisionjs,HumbleSoftware/envisionjs,RobertoMalatesta/envisionjs,bigspotteddog/envisionjs,RobertoMalatesta/envisionjs,notepad104/envisionjs,HumbleSoftware/envisionjs,notepad104/envisionjs,RobertoMalatesta/envisionjs