Fixes the problem of unseen buildings in the pedia

This was actually found by stackpointer.