Fix bug in frame receive that caused strange out-of-order frame rendering.

This would cause display glitches when the displayed image was
changing rapidly.