FIX: Crash when inserting vehicles in the depot window in some cases.
Merge branch '11.x' into devel-new