Remove redundant local definition of with-selected-frame