Include <array>.
Add move assignment for Viewport.

This fixes compilation with libstdc++.