Even more finetuned fix for cgmin error.