Fixed arrow direction bug from #256.