Fix https://github.com/daid/Cura/issues/738