Fixed the resizing of schema objects