Made inventory code (dragging/placing/picking up/dropping items) better