Fix crash on scene load, #3223.
Merge pull request #3 from fabric-engine/invalid-drawcontext

Fix crash on scene load, #3223.