Resizing overlay when ALT+T and ESC keys are pressed.