Macro goes out of field

My macro, when it picks up haste tokens, goes out of bounds and gets stuck outside the field.
Was this page helpful?