Fixes #2570: Text spilling into fragments from outside.