get layer bounds incorrect with layer.bounds
Hi , I am coding javascript in photoshop (CC2014),
when I want to get the layer bounds, I use the layer.bounds property, most time works well.
But some time, the bounds return wrong number, see the image bellow

I create a demension 100 x 100 vector layer, as you can see in the properties panel.
But when I retrive the width and height of this layer, I get 101 x 101, this is the code below

I figure out that there are decimal points in the X,Y position, and they are rounded when calculate bounds...
So, I found the reason but can't get a solution to this case.
Would you help me out of this? thanks a lot.
