Fix item placement bug