Emscripten: We now handle window resizing.