Use Thuban[Begin|End]BusyCursor() instead of a direct call to wx[Begin|End]CusyCursor(). (MapCanvas.find_shape_at): Check if the current search layer support shapes, otherwise go on to the next layer.