Fixed inventory bug related to placing blocks