Overlap issue fix

Stops the overlapping of the middle block and right block.