Fix read of scene.x/y on Windows