Resizes properly.