Pass the correct object to _InitWindow.