Box's tempSurf is now a shared_ptr.

It will now be deallocated automatically when Box's are freed.