The height of the sea is not 0

@leielyq Though it may not solve your problem, this forum thread has some suggestions for fitting objects to the ground. Stick to the ground

Bear in mind that this may not work if the ship is far away from the player, and the tiles it is passing over are not loaded.