Optimizations

Now only tiles and entities on the screen will render. This should fix
some lag spikes