Fixed bug in EditFragmentContent with resizing