added support for playing global animations in different viewports