Added a new function to allow control over whether an entity is dismounted when the entity it is riding goes under water