Added code to prevent tapping on hidden links.