* connection.flush is now connection.reset * Calculate correct tooltip dimensions after changing content * Position tooltip based on visible box, not full box (closes #3463)