fix message drawing issue on OSX 10.8.