fixed some minor dpr/dproj issues for XE/2