Add support for global positions in animations.