Resizing fix.