Fix resizing method calling.