Fixed key events for GLWidget