Fixed sort order of achievements- and friend-messages.
Adjust the text width computation to take the left/right border of
the achievement background into account.