Autocasts against invisible enemies

Single-target autocasts, such as from Wolpertinger traits, don’t work against invisible enemies. Is this intended?