cursor display fixed.

thanks to phodal.