Don't check visibility when checking required blocks

The block could be used in a function, which will make it invisible when
the function editor isn't open.