Modify a bug in render_window and update the demo.rs file.