Properly refcount all surfaces in the engine.