Fix drift being applied twice when calculating vertical.