Fixed arrow so that it does not crash when the position cannot be determined