Workaround for crashes when scrolling some TextLists

(Why the hell do we even get a nullptr there? I'll never know.)