Gridlock Example

I’m trying to convert the Desktop Gridlock Example to IOS and am nearly there except it always initiates the canvas to be 100x100 instead of the dimensions I want or the ones I set in the IDE. I tried initiating it with a timer to give the App time to finish initiating but that didn’t work, at least the way I tried. What did I miss?

Example Project

Problem seems to be
mGridImage = New Picture(self.Width, Self.Height) in CreateImage self.width and self.height is always 10?

Not sure it is exactly the way to rectify the problem but if you run longer timer and redefine the grid it works??