Changed max arrow offset to take into account arrow width