Fix block being placed incorrectly bug