Fix the stuck shift issue with PgUp/PgDn keys.