Fix stuck keys on Qt and Blackberry