fix clicking on the blocks