Added partial compatibility for resizing on edit