fix min-width and min-height after resize

remove min-width and min-height after stopping resize