Optimize breakpoints:refresh event to only cause recalculation if fired on an element one of its ancestors