Ensuring the show function never hides an element