Fixed crash on update planes.