fix hovercard overflow