Fix a crash when scrolling while a SMS is delayed.

Change-Id: I73f2d5f0e44dd80955db58e29ce1712cbf4e0ebb
(cherry picked from commit 688681c2efa5b1805960eda39fb0cc550ce17bc7)