window: Add SetActive method to window.