Refactor game_object_nesting example to work with viewports`