EDIT-2640 Scripts should be available for groups

- added scripting support for clips
- fixed scripting to check bounds if needed