This is used to fix the keyboard overlapping bug. Must first remove the original child from MainGrid and then add a new ViewBox.