Added support for window can become key