
http://aescripts.com/orient-world/
In scenes tracked with AE's 3D camera tracker, the ground plane of your scene in most cases ends up as an oblique plane in 3D space. Orient World fixes this - with a single click you make a solid layer the ground plane of your scene and orient everything accordingly.