Fix the resizing