[3.0] Fixed 9-patch rendering issue when applying a scale.