Automatically hide element when no flash is detected.