Fix #982 by correcting the bounding rect for the message