Fixed bug where multiple blocks would be placed at the same position.