Fixed crashes on Tide Controller.