Make some cata tiles functions handle new item accessors properly.
Fix building rotation.