Fixes #4649

See https://github.com/Baystation12/Baystation12/issues/4649