Fix building tooltip so that it shows required resources correctly