Avoid refreshing editor on resize if the height didn't actually change