Padding value is wrong when using bbox