hide cursor on windowUpdate