Add support for window can become key