Fixed creating screenshots.
Added keyListener for all component.