Bug 917366 - Make getdimensions compare against earlier frames;r=davehunt