Fixed modifier key events being lost.