It looks like you clear US customs at the Vancouver airport. Is that right?
I was looking at the terminal map. It looks like you check in for your flight, go through security and then go through customs. Those are my guesses.
All I ask is a tall ship and a star to steer her by; John Masefield
Carnival: Glory 2004, Destiny 2008, Splendor 2009, Freedom 2011, Valor 2012, Dream 2013
Celebrity: Summit 2011
Princess: Ruby 2010, 2014, Caribbean 2013, Coral 2014, Regal 2014, 2016, Royal 2017
Star Clippers: Royal Clipper 2015