puts in a check if input focused to block tabing