Fixed drawing with gtk text backend.