Fix crash in boats mod