avoid rendering the same frame multiple times