layers wait for frame to sync before deleting