bot -> bottom
one more change when shifting from clipping the padded region instead of the layer bounds