MPU6050 readings lag

Hello
Im testing the MPU6050 with the Arduino uno using the MPU6050_tockn library in order to build an balancing robot, and its works well when in rest, but the problem is when i move the imu fast and then put it to rest position on the table, the readings take some seconds to show the correct values, is there any way to solve this, or i need to switch to bether sensor like BNO055? I tried diferent libraries and even using an complimetary filter and this hapens again, the only axis that sems to dont have this problem is Z (BLUE in serial plotter), yo can see the ramp in the Serial ploter of the X and Y.

Thanks.

GetAngle.ino (441 Bytes)