Fixed: optimization about setting the good cursor for a CPTextField