bug fix in native video init