Fixed a bug caused by uninitialized stairs.