Is this a known bug? Using padding in the style attribute causes the layer's frame to break
It kinda should. What are you using padding for?
Yeah it makes sense, but I think we can account for it in a future update. I'm pretty close to adding matrixes for each layer which you can use to convert any layer to screen coordinates and vice versa, even with rotation, skew and stuff like this.
Oooh that will be handy @Koen.