Issue #3221: set design resolution size a default value and re-implement _adjustSizeKeepCanvasSize function in EGLview

Set design resolution size a default value and re-implement _adjustSizeKeepCanvasSize function in EGLview