Verify that target buffer exists before switching.