put resizemode back to NoResize