Fix MetadataObjMainViewRange handling when main view is resized