I'm writing a document in Greek language.
My problem is that the editor sometimes displays the greek acute next to the letter instead of above. This occurs when I change the language to English in my keyboard and then back to Greek but not always.
Example given for the right acute position
Οι προτάσεις που ικανοποιούνται από την $I$ είναι οι
$\phi_1,\phi_2,\phi_3$.
Now if I change the language to English and write something and then try to rewrite the same sentence as above
Οι προτ´ασεις που ικανοποιο´υνται απ´ο την $I$ ε´ιναι οι
$\phi_1,\phi_2,\phi_3$.
If I compile the two sentences the result is the same but it is really annoying having this kind of code. The problem is solved if I restart TexMaker but usually reoccurs within minutes.
I'm using TexMaker in Debian 8.
Edit: MWE after request
\documentclass[12pt]{article}
\usepackage[english,greek]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{enumitem}
\usepackage{ulem}
\usepackage{graphicx}
\graphicspath{ {images/} }
\title{Τεχνητή Νοημοσύνη}
\author{Εργασία 4\\ }
\date{}
\begin{document}
\maketitle
\begin{enumerate}[label={\arabic*.}]
\item
Χρησιμοποιώ τον όρο \textlatin{grufallo} για να
περιγράψω τον \textlatin{grufallo} της
εικόνας και την λέξη \textlatin{littlemouse}
για να περιγράψω τον ποντίκι της εικόνας.
\begin{enumerate}[label={\roman*.}]
\item
Θα ορίσω μια ερμηνεία $I$ με βάση την οποία το λεξιλόγιο
των παρακάτω προτάσεων περιγράφει
με ακρίβεια τον κόσμο της εικόνας.\\
\item Οι προτάσεις που ικανοποιούνται από την $I$ είναι οι
$\phi_1,\phi_2,\phi_3$.
\end{enumerate}
\end{enumerate}
\end{document}