Fix sailing effect not working properly.