I apologize for not having all of my samples migrated yet. I was having some difficulties and really scratching my head. As it turns out, I have pinpointed a breaking change that I do not believe is in the SDK. The breaking change is...
The width and height properties in the createObject function call must be string values, not integer values.
I had been using integer values in my samples and it caused me a bit of confusion while I was attempting to migrate my samples. I hope this post will help you avoid the same problem.