Another thing to be aware of is how the bucket is hung as well. If you use clips like these ones, make sure the open bottom part is flipped around towards the wall, not out towards the horse. I've seen a horse catch a nostril on it as well and slice it several inches directly up towards their forehead. Not pretty.
Horses can and will hurt themselves on nearly everything!