Calculate the zoom value based on the maximum multiplied game size that will fit into the parent, or browser window if no parent is set.