Add fix for potential keyboard bug.