This is the source code used to fix the bounding box in phaser 3
Phaser 3 bounding box size with Arcade Physics