Helper function to get the pointer position to replace gtk_widget_get_pointer() that is now deprecated.