Added reset of the cursorFileName when hideCursor is activated to prevent the custom cursor being enabled.