Trigger Box Won't Work With My Lua Script When I Change It's Scale

I create a new entity, give it a trigger area, assign the box shape, and give the entity a Lua script component. Inside the Lua component I program a trigger event and when I test it, it works fine. Although, when I change the box shapes size (I’m changing it from X: 1.0, Y: 1.0, Z: 1.0 to
X: 1.0, Y: 3.0, Z: 0.3) the Lua script doesn’t work all of a sudden. Can anyone explain why it’s doing that? Is it a bug or is there something else I have to add within my Lua script?