Fix the autosize of the message input after submit