Hey guys,
The problem ended up being that in your MVC demo and also in a couple of your samples on the startup pages, viewPortWidth and viewPortHeight in the jsonObjects class were not named correctly and were not being set as intended because of this.
Thanks for your help, it now works correctly.