Fixed another cursor closing bug.