Fix zoom to fit logic for assembly.