Added support for maximizing game view.