Accelerometers and transient acceleration
I think the problem is that you're setting the HPF_BYP bit of the TRANSIENT_CFG register.  This bypasses the high-pass filter, so it is no longer actually looking at transient acceleration only, but the total acceleration including the 1g due to gravity.