3D point coordinates projection issue on the DRR image plane

Maybe take a look at this discussion about how to rotate an image?