Fix get_offset_at_point for label widget