Fixes duplicate block placement

Issue #37