Automatic window scaling in Krom and browser

Good afternoon, everyone!
When we run game scenes through Krom, all the elements of the scene are scaled if we resize the window with the mouse. But if you run the scene through the browser, then when the window is resized, there is no automatic scaling; instead, vertical and horizontal scrollbars appear. Using the “Get Window Resolution” node with the value output to the screen via the “On Render 2D” node shows that the window resolution does not change. Please tell me how to enable automatic scaling when launching a game scene through a browser? Thank you!