Fixed a bug with cursor positioning