Fix for the tooltip layout