fixed native frame cache issue