Improve performance by only rendering visible objects