Fixed a bug with the placement action