I encountered the same problem and fixed it. In my case, I opened the simulator before running my app (previously I tried to run my app without opening my simulator first and it doesn't work). However, when I stop the task, suddenly the canvas works perfectly fine. It's puzzling but it works 🤷♀️.