Fixed position issue, still has issue of having to call setPosition twice.