Fixed a bug with placed items