Fixes duplicate block being placed

issue #37