update current content size based on windowOrContentResizeMode flag, usually used when window is resized
See Implementation
update current content size based on windowOrContentResizeMode flag, usually used when window is resized