Added support for custom collision boxes