Fixing a bug with layouts and tooltips.