Fix another case where layer height was obtained from global
Fix another case where layer height was obtained from global

I had misremembered this. It must be obtained from the mesh group.

Contributes to issue CURA-4410.

Ultimaker/CuraEngine,Ultimaker/CuraEngine