This time is should actually work.  Moved the cursor check to a click function.