avoids an intermediate step to set input target to black
restores logic from previous versions
refs #17170