Fix being unable to bind on window, introduced in 92e1822a3cdb5cb48dd91a888b20352cc7a2038f