Add try-catch block for obtaining canvas context
Add try-catch block for obtaining canvas context

ericksli/TyphoonTycoon,vicksonzero/TyphoonTycoon,ericksli/TyphoonTycoon,jasonycw/TyphoonTycoon,vicksonzero/TyphoonTycoon,jasonycw/TyphoonTycoon