Revert "Window doesn't update"

This reverts commit 19dba5452dbaa11a0ffe57a6a59da01d3c74d850.