Fix container margin issue of EqualToFrame policy