Fixed inventory not being correctly displayed at first loading