fix for CenterInside rect when parent is smaller than this