Remove unused code in CursorHider