Fix initial window position and visibility

This PR makes the window invisible until `IsVisible` is set to true. This matches the behavior on other platforms, which can be used for off-screen rendering.

It also fixes the initial window position.