I have following code for my vector:
For me the best works when using pivot of the center of the view. Please notice that I've used as center half of viewport - not width/height
pivot