Fix fatal error when block not supported by current theme