Index: gailtreeview.c
===================================================================
--- gailtreeview.c	(revision 22371)
+++ gailtreeview.c	(working copy)
@@ -1074,6 +1074,7 @@
   GtkTreePath *path;
   GtkTreeViewColumn *tv_column;
   gint x_pos, y_pos;
+  gint bx, by;
   gboolean ret_val;
 
   widget = GTK_ACCESSIBLE (component)->widget;
@@ -1084,8 +1085,9 @@
   tree_view = GTK_TREE_VIEW (widget);
 
   atk_component_get_extents (component, &x_pos, &y_pos, NULL, NULL, coord_type);
+  gtk_tree_view_convert_widget_to_bin_window_coords (tree_view, x, y, &bx, &by);
   ret_val = gtk_tree_view_get_path_at_pos (tree_view, 
-                                           x - x_pos, y - y_pos, 
+                                           bx - x_pos, by - y_pos, 
                                            &path, &tv_column, NULL, NULL);
   if (ret_val)
     {
@@ -3088,13 +3090,11 @@
   visible_rect = &rect;
   tree_cell_rect = &rect1;
   tree_cell_rect->x = cell_rect->x;
+  tree_cell_rect->y = cell_rect->y;
   tree_cell_rect->width = cell_rect->width;
   tree_cell_rect->height = cell_rect->height;
 
   gtk_tree_view_get_visible_rect (tree_view, visible_rect);
-  gtk_tree_view_convert_widget_to_bin_window_coords (tree_view,
-                                                     cell_rect->x, cell_rect->y,
-                                                     NULL, &(rect1.y));
 
   if (((tree_cell_rect->x + tree_cell_rect->width) < visible_rect->x) ||
      ((tree_cell_rect->y + tree_cell_rect->height) < (visible_rect->y)) ||
