Expand tooltip to the right if required (fix #27)