sometimes render thread keep running even not "visible"