Fix dynamic tooltip contents