Resize only if the $tip is visible