Fixed problem with changing content size as well as problem when changing the subview's frame.