Hopefully a less invasive fix for #3378 --------- Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>