Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc