Another attempt to fix kbd keys detection.