fix various bugs with ride window