fix tooltip position issue