Check if cursorHideStyle is in the document before remove()-ing it