wait until new frame becomes available before actually copying image memory