Prevent the back end tool tips from exceeding the screen width (see #6639)