Using shared_ptr instead of reference for tilesets
Cleaned up render target a bit