Fixed crash with tooltips.