bugffix in cursor pos after f3 pressed

small bug
Merge pull request #7 from iz56/feature

bugffix in cursor pos after f3 pressed