copy_viewport = function(v)
	return {x=v.x, y=v.y, zoom=v.zoom}
end