Null check correction

When the nativeCanvas was not defined we had an error on Chrome
I can't understand that - why we need additional providerAsyncCallback implementation?