Fixed bug where the autoresize plugin wouldn't properly resize the editor to initial contents some times.