fix #525, creating a ride crashes when footpath window is open