Fix moving message selection bug