Fix resizing className