fix size of win in frame in editor mode

   - object in frame is smaller because of borders,
     so actual win(image) size was smaller. Fixed.