Fix resize action.