Triplanar is not messing with aspect ratio. If you have non square texture, first you need to setup tiling correctly in the bitmap node itself and then triplanar will work as expected. It's not triplanar's job to work with aspect ratio.