Test also ResourceManager::set() with default values.
Fix Context initialization in WebGL.

Broken since 41235c20eb2ab65bc034eefd77cadee33210b730 which was three
weeks ago. I am SO thoroughly testing all the stuff, right?