The frame of the graphics text widget match the real text size