Fix bug with up vector