Fix bounds computation when the padding is entirely due to effects and not to masking