fixed image resizing when separators are moved