fixed flickering autosize of markdown textarea