Fix block transparent check