window: fix escape key