Fix #7600 Co-authored-by: NiLuJe <ninuje@gmail.com> Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>