Fix constraints for multiple frame motion