Since the camera is sitting on the deck, it would move as much as the room. That's why it looks like the table is moving. It's all reletive to the camera, and the camera is "attached" to the room.
This is why people get seasick. If you are inside, your eyes tell you everything is normal, but your stomach knows better. A tip from someone who spent a few years floating around the Atlantic for my uncle Sam....If you are on a ship, the best place to be if you feel seasick is outside where you can see the horizon.
Steve