Ronin Looking into this, it's not a glitch.
The script is looking for a free tile in front of the player, but the object being placed is 2x2, so the player is blocking it's placement.
I suggest looking into the process of making sure the placement of a 2x2 block is sufficiently away from the player so there's room.
While checking if there's a single tile free in front of the player is sufficient with a 1x1 tile, its not that simple when its 2x2., especially if the object tries to populate the tiles "backwards", ie towards the player.