When you are holding the bucket and try to jump over a wall or fence, the little animation makes a box appear under your feet. The box will stay until you unequip.
This is a feature. :P