fix screenshot subcontext