Fixed a bug in resetCursor() that only manifested when called by toggleExposeAll().