Fix infinite recursion in frame-set.js