18. The driver of a vehicle shall not cause the vehicle or any part of it to stop within the limits of a crossing unless he is prevented from proceeding by circumstances beyond his control or it is necessary for him to stop to avoid injury or damage to persons or property.