fixes a couple little bugs with tooltips in demo