I think it's a bug with godot, but the screen goes completely black if the window is resized.
Oh that's strange. Let me try to figure it out. Thank you for bringing this to my attention.