Fixed screen flicker by simply moving cursor instead of clearing screen