Vector - fix Vector.getPos() to handle crazier elements

Summary: the conpherence application provides a great example. See D5719.

Test Plan: D5719

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5720