Make sure x11 views are mapped. The surface may have commited before
it's linked with x11 window.
Make sure we don't delete surfaces without context.