Fix small typos and be more explicit about what the function does. It does not actually position the widget, it computes the coordinates needed to position it.