This check would make it impossible to resize the editor to the previous size (given the case that you have or want to)