DVD: __onclose was already in use so rename that function

And only do a resize when it is really required