Fixes #4977

Fixes https://github.com/Baystation12/Baystation12/issues/4977