Various frame copying fixes.