Set focus on strokes text. This is necessary for OSX and linux.