Fixed the shadow radius interpretation
Use the aligned bounding rect to fix non-integer borders problems