Fix tick handling of floors in elevators.