Fix webview initial display size by assigning all parameters immediately