toolwindow resized by keybaord only when focused -- a fix