resize inplace min width and fixed displaced resizing bug