fixing screen flashes from comments at the end of remapped key lines