Fix for extended keyboard scanner with 40 column