handle the case where the last surface is removed while scale is running
handle fullscreen surfaces