Fix ingot pile and plank crashes.

Fix crash when placing ingot pile on top of log pile or chiseled block.
Fix crash when placing plank on block with sign or sapling.
Also, it no longer seems to lose planks when trying to place on top of grass or flowers.